//
//  CheckOutManager.h
//  zhima_kt
//
//  Created by zhima on 2020/3/6.
//  Copyright © 2020 zhima. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface CheckOutManager : NSObject

SINGLETON_FOR_HEADER(CheckOutManager)


/// 判断字符串是否为空
-(BOOL)isBlankString:(NSString *)str;

/// 判断数组是否为空
-(BOOL)isBlankArray:(NSArray *)array;


/// 判断字典是否为空
-(BOOL)isBlankDictionary:(NSDictionary *)dic;

/// 检测邮箱是否合法
-(BOOL) isValidateEmail:(NSString *)candidate;

/// 检测是否是纯数字
-(BOOL)isValidNumber:(NSString*)value;


/// 手机号校验
- (BOOL)isValidPhoneNumber:(NSString *)phone;

@end

NS_ASSUME_NONNULL_END
